#ifndef DBREADER_H
#define DBREADER_H

#include <QObject>

#include "global.h"

class DbReaderPrivate;
class DbReader : public QObject
{
    Q_OBJECT
public:
    static DbReader* instance();

    QList<ImageData> queryGoodImages();
    QList<ImageData> queryNewImages();

private:
    explicit DbReader(QObject *parent = 0);
    ~DbReader();

    DbReaderPrivate* d_ptr;
    Q_DISABLE_COPY(DbReader)
};

#endif // DBREADER_H
